package Finance::Pershing::StandardFiles::Store::Result::SelectLink::Detail;

use strict;
use warnings;

use aliased 'Finance::Pershing::StandardFiles::Store::Result::SelectLink';

use base 'DBIx::Class';


__PACKAGE__->load_components(qw/Core/);
__PACKAGE__->table('household_detail');
__PACKAGE__->add_columns(
  household_id => {
    data_type => "VARCHAR",
    is_nullable => 0,
    size => 9
  },
  acctnum => {
    data_type => "CHAR",
    is_nullable => 0,
    size => 9
  }
);

__PACKAGE__->set_primary_key(qw/household_id acctnum/);

__PACKAGE__->belongs_to(
  household => SelectLink,
  { 'foreign.household_id' => 'self.household_id' },
);
  
1;

